package string;

public class CharAtDemo {//获取当前指定位置的字符
    public static void main(String[] args) {
        String str = "thinking in java";
        System.out.println(str.charAt(0));
        System.out.println(str.charAt(5));
    }
}
